/*
day420 
2020.10.21 
*/

#include<iostream>
#include<vector>
#include<algorithm>
using namespace std;

class Solution {
public:
    double trimMean(vector<int>& arr) {
		sort(arr.begin(),arr.end());
		int len=arr.size()/20;
		
		int sum=0;
		for(int i=len;i<arr.size()-len;++i)
		{
			sum+=arr[i];
		}
		
		return 1.0*sum/(arr.size()-len*2);
    }
};

int main()
{
	return 0;
 } 
